# setup.py
'''
Created on Apr 19, 2011

@author: mwarren1

description: Python script used to build windows source.
'''
import sys
from distutils.core import setup
from glob import glob
import py2exe

sys.path.append(r'C:\Program Files\Common Files\Microsoft Shared\VSTO\10.0')

# List of non-Python files that need to be included in the build (e.g. images)
data_files = [  (r'images\win\tutorial', glob(r'images\win\tutorial\*.*')),
                (r'', ["box.ico"])]


setup(  name="MailDrop",
        version="2.0.0",
        author="Michael Warren",
        options = {"py2exe": {"compressed": 1,
                                'dll_excludes': [ "mswsock.dll", "powrprof.dll" ]}},
        #                  "optimize": 2,
        #                  "ascii": 1,
        #                  "bundle_files": 1}},
        zipfile = None,
        url="getmaildrop.com",
        windows=["MailDrop.py"],
        data_files=data_files,
        )